package net.osweb.crm.modules.sys.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SysParam entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sys_param")
public class SysParam implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6275122768515519109L;
	private Integer id;
	private String paraKey;
	private String paraValue;
	private String paraDesc;
	private String isavailability;
	private String lang;

	// Constructors

	/** default constructor */
	public SysParam() {
	}

	/** full constructor */
	public SysParam(String paraKey, String paraValue, String paraDesc,
			String isavailability, String lang) {
		this.paraKey = paraKey;
		this.paraValue = paraValue;
		this.paraDesc = paraDesc;
		this.isavailability = isavailability;
		this.lang = lang;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "para_key")
	public String getParaKey() {
		return this.paraKey;
	}

	public void setParaKey(String paraKey) {
		this.paraKey = paraKey;
	}

	@Column(name = "para_value")
	public String getParaValue() {
		return this.paraValue;
	}

	public void setParaValue(String paraValue) {
		this.paraValue = paraValue;
	}

	@Column(name = "para_desc")
	public String getParaDesc() {
		return this.paraDesc;
	}

	public void setParaDesc(String paraDesc) {
		this.paraDesc = paraDesc;
	}

	@Column(name = "Isavailability")
	public String getIsavailability() {
		return this.isavailability;
	}

	public void setIsavailability(String isavailability) {
		this.isavailability = isavailability;
	}

	@Column(name = "lang")
	public String getLang() {
		return this.lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

}